package edu.mit.media.fv.events
{
	import flash.events.Event;
	
	public class AudioEvent extends Event
	{
		public static const USER:String = "user";
		public static const GROUP:String = "group";
		public static const VOICE:String = "voice";
		
		public static var TEMP_AUDIO_ID:int = 15;
		
		public static const START_RECORD:String = "fvStartRecord";
		public static const STOP_RECORD:String = "fvStopRecord";
		public static const START_PLAY:String = "fvPlay";
		public static const STOP_PLAY:String = "fvStop";
		public static const MUTE:String = "fvMute";
		public static const UNMUTE:String = "fvUnmute";
		public static const EDIT_VOLUME:String = "fvEditVolume";
		public static const ATTENTION:String = "fvAttention";
		public static const START_TIVO:String = "fvStartTivo";
		public static const STOP_TIVO:String = "fvStopTivo";
		public static const WARNING_TIVO:String = "fvWarningTivo";
		public static const STARTED_TIVO:String = "fvStartedTivo";
		
		public var audioID:int;
		public var volume:Number;
		public var balance:Number;
		public var msgtype:String;
		
		public function AudioEvent(type:String, audioID:int = -1, volume:Number = 0, balance:Number = 0, msgtype:String = "")
		{
			super(type);
			this.audioID = audioID;
			this.volume = volume;
			this.balance = balance;
			this.msgtype = msgtype;
		}

	}
}